Pet Store Web Service
GetgetUserByName
Description
Get user by user name
Parameters
NameDescriptionData Type
usernameThe name that needs to be fetched. Use user1 for testing.string
Response

The response body is of type User.

Overview

User
Represents an individual user.
id : long
Unique identifier for this user.
lastName : string
Last Name.
phone : string
Phone number.
username : string
Unique user name.
email : string
Email address.
userStatus : int
1 = registered, 2 = active, 3 = closed.
firstName : string
First Name.
password : string
Current password.
Fault Responses
FaultDescription
400This fault returns a response body of type (undefined).
Invalid username supplied
404This fault returns a response body of type (undefined).
User not found
See Also
Users Resource GroupPet Store Web Service

 

 


© 2013 All Rights Reserved.

Send comments on this topic.